/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package action.administration;

/**
 *
 * @author Thai Ha Cong
 */
public class KPrev {
    private Integer idProduct;
    private String name;
    private double unitPrice;
    private double receiptPrice;
    private double kpRevenue;
    
    public KPrev() {
    }

    public KPrev(Integer idProduct, String name, double unitPrice, double receiptPrice) {
        this.idProduct = idProduct;
        this.name = name;
        this.unitPrice = unitPrice;
        this.receiptPrice = receiptPrice;
    }

    public KPrev(Integer idProduct, String name, double unitPrice, double receiptPrice, double kpRevenue) {
        this.idProduct = idProduct;
        this.name = name;
        this.unitPrice = unitPrice;
        this.receiptPrice = receiptPrice;
        this.kpRevenue = kpRevenue;
    }

    public Integer getIdProduct() {
        return idProduct;
    }

    public void setIdProduct(Integer idProduct) {
        this.idProduct = idProduct;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(double unitPrice) {
        this.unitPrice = unitPrice;
    }

    public double getReceiptPrice() {
        return receiptPrice;
    }

    public void setReceiptPrice(double receiptPrice) {
        this.receiptPrice = receiptPrice;
    }

    public double getKpRevenue() {
        return kpRevenue;
    }

    public void setKpRevenue(double kpRevenue) {
        this.kpRevenue = kpRevenue;
    }

    @Override
    public String toString() {
        return "KPrev{" + "idProduct=" + idProduct + ", name=" + name + ", unitPrice=" + unitPrice + ", receiptPrice=" + receiptPrice + ", kpRevenue=" + kpRevenue + '}';
    }
}
